+Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
+ initialize target_list to an empty list instead of NULL,
+ since it broke tree dnd. (#148215, Ernst Persson)
+
+ * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
+ * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
+ handle target list being NULL here.
+
2004-07-23 Dafydd Harries <daf@muse.19inch.net>
-Fri Jul 23 16:35:23 2004
* gtk/gtkradioaction.c:
* gtk/gtkradiobutton.c:
* gtk/gtkentry.c:
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
- align the entry in the same way as the cell. (#136749)
+ Align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
+ initialize target_list to an empty list instead of NULL,
+ since it broke tree dnd. (#148215, Ernst Persson)
+
+ * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
+ * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
+ handle target list being NULL here.
+
2004-07-23 Dafydd Harries <daf@muse.19inch.net>
-Fri Jul 23 16:35:23 2004
* gtk/gtkradioaction.c:
* gtk/gtkradiobutton.c:
* gtk/gtkentry.c:
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
- align the entry in the same way as the cell. (#136749)
+ Align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
+ initialize target_list to an empty list instead of NULL,
+ since it broke tree dnd. (#148215, Ernst Persson)
+
+ * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
+ * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
+ handle target list being NULL here.
+
2004-07-23 Dafydd Harries <daf@muse.19inch.net>
-Fri Jul 23 16:35:23 2004
* gtk/gtkradioaction.c:
* gtk/gtkradiobutton.c:
* gtk/gtkentry.c:
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
- align the entry in the same way as the cell. (#136749)
+ Align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
+ initialize target_list to an empty list instead of NULL,
+ since it broke tree dnd. (#148215, Ernst Persson)
+
+ * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
+ * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
+ handle target list being NULL here.
+
2004-07-23 Dafydd Harries <daf@muse.19inch.net>
-Fri Jul 23 16:35:23 2004
* gtk/gtkradioaction.c:
* gtk/gtkradiobutton.c:
* gtk/gtkentry.c:
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
- align the entry in the same way as the cell. (#136749)
+ Align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
site->flags = flags;
site->have_drag = FALSE;
- site->target_list = gtk_target_list_new (targets, n_targets);
+ site->target_list = NULL;
site->actions = actions;
site->do_proxy = FALSE;
site->proxy_window = NULL;
GtkTargetList *target_list;
target_list = gtk_drag_dest_get_target_list (widget);
+ if (!target_list)
+ target_list = gtk_target_list_new (NULL, 0);
gtk_target_list_add_text_targets (target_list);
gtk_drag_dest_set_target_list (widget, target_list);
}
GtkTargetList *target_list;
target_list = gtk_drag_source_get_target_list (widget);
+ if (!target_list)
+ target_list = gtk_target_list_new (NULL, 0);
gtk_target_list_add_text_targets (target_list);
gtk_drag_source_set_target_list (widget, target_list);
}